package etf.library;

public class LibraryLogo {
	String title;
	byte[] image;
	
	public LibraryLogo(){
		
	}
	
	public LibraryLogo(String title){
		this.title = title;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public byte[] getImage() {
		return image;
	}

	public void setImage(byte[] image) {
		this.image = image;
	}
	
//	public BufferedImage getImage() {
//        InputStream in = new ByteArrayInputStream(imageBytes);
//        return ImageIO.read(in);
//    }
//
//    public void setImage(BufferedImage image) {
//        BufferedOutputStream out = new ByteArrayOutputStream();
//        ImageIO.write(image, "PNG" /* for instance */, out);
//        imageBytes = out.toByteArray();
//    }

}
